<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>fastclick</title>
    <style>
        #div{
            width: 100px;
            height: 100px;
            background: red;
        }


    </style>
</head>
<body>
<div id="div" >div</div>
<script>
    div.ontouchstart=function(){
        div.ontouchmove=function(){
            alert(2);
        }
        div.ontouchend=function(){
            alert(3);
        }
    }
</script>
</body>
</html>